package com.power.bank.member.domain;

import com.power.bank.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.power.bank.common.annotation.Excel;

/**
 * memebr对象 power_bank
 * 
 * @author power
 * @date 2024-12-18
 */
public class PowerBank extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 充电宝id */
    private Long id;

    /** 设备编号 */
    @Excel(name = "设备编号")
    private String deviceCode;

    /** 充电宝店铺名称 */
    @Excel(name = "店铺名称")
    private String shopName;

    /** 充电宝店铺地址 */
    @Excel(name = "店铺地址")
    private String shopAddress;

    /** 每小时单价 */
    @Excel(name = "每小时单价")
    private Integer productPrice;

    /** 充电宝店铺评分 */
    @Excel(name = "店铺评分")
    private Integer shopScore;

    /** 充电宝品牌 */
    @Excel(name = "品牌")
    private String deviceBrand;

    /** 所在城市 */
    @Excel(name = "所在城市")
    private String shopCity;

    /** 充电宝店铺星级，1星到5星，1钻到5钻 */
    @Excel(name = "店铺星级")
    private String starName;

    /** 商圈 */
    @Excel(name = "商圈")
    private String shopBusiness;

    /** 纬度 */
    @Excel(name = "纬度")
    private String shopLatitude;

    /** 经度 */
    @Excel(name = "经度")
    private String shopLongitude;

    /** 充电宝店铺图片 */
    @Excel(name = "店铺图片")
    private String shopPic;

    /** 所属租户 */
    @Excel(name = "所属租户")
    private Long tantId;

    /** 同步状态 */
    @Excel(name = "同步状态")
    private String syancStatus;

    /** 第三方物联网平台Id */
    @Excel(name = "第三方物联网平台Id")
    private String iotId;

    /** 所属产品标识 */
    @Excel(name = "所属产品标识")
    private String productKey;

    /** 在线状态 （0、待激活  1、离线  2、在线） */
    @Excel(name = "在线状态 ", readConverterExp = "0=、待激活,1=、离线,2=、在线")
    private Long onlineStatus;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDeviceCode(String deviceCode) 
    {
        this.deviceCode = deviceCode;
    }

    public String getDeviceCode() 
    {
        return deviceCode;
    }
    public void setShopName(String shopName) 
    {
        this.shopName = shopName;
    }

    public String getShopName() 
    {
        return shopName;
    }
    public void setShopAddress(String shopAddress) 
    {
        this.shopAddress = shopAddress;
    }

    public String getShopAddress() 
    {
        return shopAddress;
    }
    public void setProductPrice(Integer productPrice) 
    {
        this.productPrice = productPrice;
    }

    public Integer getProductPrice() 
    {
        return productPrice;
    }
    public void setShopScore(Integer shopScore) 
    {
        this.shopScore = shopScore;
    }

    public Integer getShopScore() 
    {
        return shopScore;
    }
    public void setDeviceBrand(String deviceBrand) 
    {
        this.deviceBrand = deviceBrand;
    }

    public String getDeviceBrand() 
    {
        return deviceBrand;
    }
    public void setShopCity(String shopCity) 
    {
        this.shopCity = shopCity;
    }

    public String getShopCity() 
    {
        return shopCity;
    }
    public void setStarName(String starName) 
    {
        this.starName = starName;
    }

    public String getStarName() 
    {
        return starName;
    }
    public void setShopBusiness(String shopBusiness) 
    {
        this.shopBusiness = shopBusiness;
    }

    public String getShopBusiness() 
    {
        return shopBusiness;
    }
    public void setShopLatitude(String shopLatitude) 
    {
        this.shopLatitude = shopLatitude;
    }

    public String getShopLatitude() 
    {
        return shopLatitude;
    }
    public void setShopLongitude(String shopLongitude) 
    {
        this.shopLongitude = shopLongitude;
    }

    public String getShopLongitude() 
    {
        return shopLongitude;
    }
    public void setShopPic(String shopPic) 
    {
        this.shopPic = shopPic;
    }

    public String getShopPic() 
    {
        return shopPic;
    }
    public void setTantId(Long tantId) 
    {
        this.tantId = tantId;
    }

    public Long getTantId() 
    {
        return tantId;
    }
    public void setSyancStatus(String syancStatus) 
    {
        this.syancStatus = syancStatus;
    }

    public String getSyancStatus() 
    {
        return syancStatus;
    }
    public void setIotId(String iotId) 
    {
        this.iotId = iotId;
    }

    public String getIotId() 
    {
        return iotId;
    }
    public void setProductKey(String productKey) 
    {
        this.productKey = productKey;
    }

    public String getProductKey() 
    {
        return productKey;
    }
    public void setOnlineStatus(Long onlineStatus) 
    {
        this.onlineStatus = onlineStatus;
    }

    public Long getOnlineStatus() 
    {
        return onlineStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deviceCode", getDeviceCode())
            .append("shopName", getShopName())
            .append("shopAddress", getShopAddress())
            .append("productPrice", getProductPrice())
            .append("shopScore", getShopScore())
            .append("deviceBrand", getDeviceBrand())
            .append("shopCity", getShopCity())
            .append("starName", getStarName())
            .append("shopBusiness", getShopBusiness())
            .append("shopLatitude", getShopLatitude())
            .append("shopLongitude", getShopLongitude())
            .append("shopPic", getShopPic())
            .append("tantId", getTantId())
            .append("syancStatus", getSyancStatus())
            .append("iotId", getIotId())
            .append("productKey", getProductKey())
            .append("onlineStatus", getOnlineStatus())
            .toString();
    }
}
